<?php
/**
 * TOP API: taobao.alitrip.seller.refund.fillfee request
 * 
 * @author auto create
 * @since 1.0, 2021.11.25
 */
class AlitripSellerRefundFillfeeRequest
{
	/** 
	 * 申请单ID
	 **/
	private $applyId;
	
	/** 
	 * 费对于关系，格式：{apply_fee_id:123,value:费用,金额单位分}
	 **/
	private $feePriceMap;
	
	/** 
	 * 改签费用，格式：{detail_id:123,value:费用,金额单位分}
	 **/
	private $modifyFee;
	
	/** 
	 * 票价信息，格式：{apply_fee_id：123,value:费用,金额单位分}
	 **/
	private $ticketPriceMap;
	
	/** 
	 * 升舱费用，格式：{detail_id:123,value:费用,金额单位分}
	 **/
	private $upgradeFee;
	
	private $apiParas = array();
	
	public function setApplyId($applyId)
	{
		$this->applyId = $applyId;
		$this->apiParas["apply_id"] = $applyId;
	}

	public function getApplyId()
	{
		return $this->applyId;
	}

	public function setFeePriceMap($feePriceMap)
	{
		$this->feePriceMap = $feePriceMap;
		$this->apiParas["fee_price_map"] = $feePriceMap;
	}

	public function getFeePriceMap()
	{
		return $this->feePriceMap;
	}

	public function setModifyFee($modifyFee)
	{
		$this->modifyFee = $modifyFee;
		$this->apiParas["modify_fee"] = $modifyFee;
	}

	public function getModifyFee()
	{
		return $this->modifyFee;
	}

	public function setTicketPriceMap($ticketPriceMap)
	{
		$this->ticketPriceMap = $ticketPriceMap;
		$this->apiParas["ticket_price_map"] = $ticketPriceMap;
	}

	public function getTicketPriceMap()
	{
		return $this->ticketPriceMap;
	}

	public function setUpgradeFee($upgradeFee)
	{
		$this->upgradeFee = $upgradeFee;
		$this->apiParas["upgrade_fee"] = $upgradeFee;
	}

	public function getUpgradeFee()
	{
		return $this->upgradeFee;
	}

	public function getApiMethodName()
	{
		return "taobao.alitrip.seller.refund.fillfee";
	}
	
	public function getApiParas()
	{
		return $this->apiParas;
	}
	
	public function check()
	{
		
		RequestCheckUtil::checkNotNull($this->applyId,"applyId");
		RequestCheckUtil::checkNotNull($this->feePriceMap,"feePriceMap");
		RequestCheckUtil::checkNotNull($this->ticketPriceMap,"ticketPriceMap");
	}
	
	public function putOtherTextParam($key, $value) {
		$this->apiParas[$key] = $value;
		$this->$key = $value;
	}
}
